package com.goods.business.service;
import com.goods.common.model.business.ProductCategoryTreeNode;
import com.goods.common.vo.business.ProductCategoryTreeNodeVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface CategoriesServices {
    PageVO<ProductCategoryTreeNodeVO> findCategories(Integer pageNum, Integer pageSize, ProductCategoryTreeNodeVO productCategoryTreeNodeVO);


    void add(ProductCategoryTreeNodeVO productCategoryTreeNodeVO);

    ProductCategoryTreeNode edit(Long id);

    void update(Long id, ProductCategoryTreeNode productCategoryTreeNode);

    boolean delete(Long id);


    List<ProductCategoryTreeNodeVO> findParentCategoryTree();
}
